Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持动态语言更新界面 #1559

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

hoveychen
Copy link

当前webui界面只支持在执行开始时读取系统语言来本地化。
这个修改可以根据浏览器的语言设置来本地化界面,适合放在云上提供给多地区用户使用。比如常见的Autodl,git clone部署起来默认就是英文系统,

@hoveychen hoveychen closed this Aug 30, 2024
@XXXXRT666
Copy link
Contributor

XXXXRT666 commented Aug 30, 2024

当前webUI支持手动选取语言
python webui.py <language>

@hoveychen hoveychen reopened this Sep 2, 2024
@hoveychen
Copy link
Author

hoveychen commented Sep 2, 2024

修复了一些BUG,现在可以正常使用了。

默认效果是根据用户浏览器语言来选择界面。参考https://github.com/hoveychen/gradio-i18n ,其实可以简单加入一个下拉框来直接选择语言,不过这个涉及到界面改动,可能众口难调,得大佬来弄就好了。

@RVC-Boss
Copy link
Owner

RVC-Boss commented Sep 3, 2024

我后面看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants